go/types.Named.inst (field)

36 uses

	go/types (current package)
		instantiate.go#L98: 		ctxts = append(ctxts, expanding.inst.ctxt)
		named.go#L116: 	inst *instance // information for instantiated types; nil otherwise
		named.go#L243: 	if n.inst != nil {
		named.go#L247: 		orig := n.inst.orig
		named.go#L255: 			n.inst.ctxt = nil
		named.go#L271: 		assert(n.inst == nil)    // cannot import an instantiation
		named.go#L353: 		inst.ctxt = expanding.inst.ctxt
		named.go#L355: 	typ := &Named{check: check, obj: obj, inst: inst}
		named.go#L367: 	if n.inst == nil {
		named.go#L376: 	if t.inst == nil {
		named.go#L379: 	return t.inst.orig.obj
		named.go#L385: 	if t.inst == nil {
		named.go#L388: 	return t.inst.orig
		named.go#L398: 	assert(t.inst == nil)
		named.go#L404: 	if t.inst == nil {
		named.go#L407: 	return t.inst.targs
		named.go#L433: 	assert(t.inst != nil) // only instances should have unexpanded methods
		named.go#L434: 	orig := t.inst.orig
		named.go#L445: 		assert(t.inst.ctxt != nil) // we should still have a context remaining from the resolution phase
		named.go#L447: 		t.inst.expandedMethods++
		named.go#L451: 		if t.inst.expandedMethods == len(orig.methods) {
		named.go#L453: 			t.inst.ctxt = nil // no need for a context anymore
		named.go#L465: 	origm := t.inst.orig.Method(i)
		named.go#L492: 	if origSig.RecvTypeParams().Len() == t.inst.targs.Len() {
		named.go#L493: 		smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
		named.go#L522: 	assert(t.inst == nil)
		named.go#L547: 	assert(t.inst == nil)
		named.go#L755: 	assert(n.inst.orig.stateHas(lazyLoaded | unpacked))
		named.go#L757: 	if n.inst.ctxt == nil {
		named.go#L758: 		n.inst.ctxt = NewContext()
		named.go#L761: 	ctxt := n.inst.ctxt
		named.go#L762: 	orig := n.inst.orig
		named.go#L764: 	targs := n.inst.targs
		predicates.go#L149: 	return named != nil && named.obj != nil && named.inst == nil && named.TypeParams().Len() > 0
		typestring.go#L301: 		if t.inst != nil {
		typestring.go#L303: 			w.typeList(t.inst.targs.list())